package com.homegoods.orderinfodetail.model;

import com.homegoods.orderinfodetail.item.AddressManagerItem;
import com.kedll.library.adapter.MultiTypeAdapter;
import com.kedll.library.mvp.BaseModel;

public class AddressListModel extends BaseModel<AddressManagerItem> {

    /**
     * isDefault : false            //是否选中默认地址
     * id : 35                      //地址id
     * areaName : nihaohao          //所在地区名称
     * memberId : 39                //所在地区编号
     * phone : 465645               //收货人电话
     * name : 酷酷酷                 //收货人姓名
     * detailAddress : 解开了揭开    //收货人详细地址
     */

    private boolean isDefault;
    private int id;
    private String areaName;
    private int memberId;
    private String phone;
    private String name;
    private String detailAddress;

    public boolean isIsDefault() {
        return isDefault;
    }

    public void setIsDefault(boolean isDefault) {
        this.isDefault = isDefault;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getAreaName() {
        return areaName;
    }

    public void setAreaName(String areaName) {
        this.areaName = areaName;
    }

    public int getMemberId() {
        return memberId;
    }

    public void setMemberId(int memberId) {
        this.memberId = memberId;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDetailAddress() {
        return detailAddress;
    }

    public void setDetailAddress(String detailAddress) {
        this.detailAddress = detailAddress;
    }

    @Override
    public AddressManagerItem createItem(MultiTypeAdapter adapter) {
        //我的收货地址列表中的Item项
//        return new AddressManagerItem(this, adapter);
        return null;
    }
}
